<template>
<div>
    <!-- 面包屑导航区域 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>数据管理</el-breadcrumb-item>
      <el-breadcrumb-item>同步数据</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 卡片视图区域 -->
    <el-card>
      <el-upload class="upload-file" drag action="http://116.63.10.80:8888/api/private/v1/upload" multiple :on-success="uploadSuccess">
        <i class="el-icon-upload"></i>
        <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
        <div class="el-upload__tip" slot="tip">只能上传csv文件，且不超过100M</div>
      </el-upload>
    </el-card>
</div>
</template>
<script>

export default {
  methods: {
    uploadSuccess() {
      this.$message.info('上传成功.')
    }
  }
}
</script>

<style lang="less" scoped>
</style>
